package cn.seocoo.platform.base.service;

import cn.seocoo.platform.base.domain.BaseOperationType;
import cn.seocoo.platform.base.dto.BaseCommonDto;

import java.util.List;

/**
 * 营运类型 服务层
 * 
 * @author wujian
 * @date 2019-12-30
 */
public interface IBaseOperationTypeService 
{
	/**
     * 查询营运类型信息
     * 
     * @param id 营运类型ID
     * @return 营运类型信息
     */
	public BaseOperationType selectBaseOperationTypeById(Integer id);
	
	/**
     * 查询营运类型列表
     * 
     * @param baseOperationType 营运类型信息
     * @return 营运类型集合
     */
	public List<BaseOperationType> selectBaseOperationTypeList(BaseOperationType baseOperationType);
	
	/**
     * 新增营运类型
     * 
     * @param baseOperationType 营运类型信息
     * @return 结果
     */
	public int insertBaseOperationType(BaseOperationType baseOperationType);
	
	/**
     * 修改营运类型
     * 
     * @param baseOperationType 营运类型信息
     * @return 结果
     */
	public int updateBaseOperationType(BaseOperationType baseOperationType);
		
	/**
     * 删除营运类型信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteBaseOperationTypeByIds(String ids);

    List<BaseCommonDto> selectOperationType(String categoryName);
}
